package com.lyy.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author Liangyaoyun
 */
//变鱼缸

@Configuration

//扫描mapper，把所有mapper变成鱼
//com.lyy扫不到，因为必须是最小范围

@MapperScan("com.lyy.mapper")
public class MybatisConfig {
}
